package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author lth
 * @Date 2021/7/21 16:25
 */
@Data
@TableName("tz_blockchain_shop")
public class BlockchainShop implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long blockchainShopId;

    @Schema(description = "店铺id")
    private Long shopId;

    @Schema(description = "链平台id")
    private Long blockchainId;

    @Schema(description = "链平台编码")
    private String blockchainCode;

    @Schema(description = "扣率: 能量充值折扣（1代表1%）")
    private Double discount;

    @Schema(description = "签约状态：1：已通过 0待审核 -1未通过")
    private Integer status;

    @Schema(description = "店铺编码")
    private String shopCode;

    @Schema(description = "同步状态0:未开启1:已开启2:同步过")
    private Integer isSynchronization;

    @Schema(description = "api鉴权账号(店铺角色)")
    private String apiUser;

    @Schema(description = "api鉴权密码")
    private String apiPassword;

    @Schema(description = "是否可铸币 0 否1 是")
    private Integer isCoin;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新时间")
    private Date updateTime;

    @Schema(description = "审核原因")
    private String auditReason;

    @Schema(description = "审核时间")
    private Date auditTime;

    @Schema(description = "申请时间")
    private Date applyTime;
}
